class Example{
    

    static void main(String[] args){
        def data = ["name":"lee", "age":23, "addr":"gd"];
        data.put("good","man")
        println("name exists:"+data.containsKey("name"))
        println("name="+data.get("name"))

        println("keyset...")
        data.keySet().each{
            ks-> println ks
        }
        println("values...")
        data.values().each{
            v-> println v
        }
    }
}